<template>
  <box-skin>
    <div class="nav">
      <div class="nav__item" v-for="item in list" :key="item.id" px-15 my-5>
        <img :src="item.image" alt="" circle mb-5 />
        <span fz-14>{{ item.title }}</span>
      </div>
    </div>
  </box-skin>
</template>

<script setup>
import BoxSkin from "@/components/box-skin/BoxSkin.vue";
defineProps(["list"]);
</script>

<style lang="scss" scoped>
@include b(nav) {
  display: flex;
  flex-wrap: wrap;

  @include e(item) {
    box-sizing: border-box;
    width: 20%;
    text-align: center;
  }
}
</style>
